<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:76:"/webHome/host6366235/www/public/../application/teacher/view/newss/index.html";i:1679839692;s:69:"/webHome/host6366235/www/application/teacher/view/public/footer2.html";i:1679839693;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title><?php echo $setting['webname']; ?>-动态</title>
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <link rel="shortcut icon" href="/public/static/admin/uploads/set/<?php echo $setting['ico']; ?>">
    <link type="text/css" rel="stylesheet" href="/public/static/admin/css/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/base.css">
    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/home.css">
    <script type="text/javascript" src="/public/static/home/themes/js/jquery.min.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/slider.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/tab.js"></script>
    <style>
        *{font-size:12px!important;}
    </style>
</head>
<body>

<section class="aui-flexView">
    <header class="aui-navBar aui-navBar-fixed b-line">
        <a href="javascript:history.back(-1)" class="aui-navBar-item">
            <i class="icon icon-return"></i>
        </a>
        <div class="aui-center">
            <span class="aui-center-title">动态</span>
        </div>
        <a href="javascript:;" class="aui-navBar-item">
            <i class="icon icon-sys"></i>
        </a>
    </header>
    <section class="aui-scrollView">
        <div class="aui-watch-box">
            <?php foreach($news as $vs): ?>
            <a href="<?php echo url('Newss/detail'); ?>?id=<?php echo $vs['id']; ?>" class="aui-flex b-line">
                <?php if(!empty($vs['cover'])): ?>
                <div class="aui-branch-img">
                    <img src="<?php echo $vs['cover']; ?>" alt="" height="100%">
                </div>
                <?php endif; ?>
                <div class="aui-flex-box">
                    <h3><?php echo $vs['title']; ?></h3>
                    <p><?php echo mb_substr($vs['desc'],0,18,"utf-8"); ?>……</p>
                    <p><?php echo $vs['create_time']; ?></p>
                    <!--<div class="aui-watch-seep">-->
                    <!--    <div class="aui-watch-seep-die" style="width:80%"></div>-->
                    <!--</div>-->
                </div>
            </a>
            <?php endforeach; ?>
            <?php echo $news->render(); ?>
        </div>
    </section>
    <link href="/public/static/admin/css/font-awesome.css?v=4.4.0" rel="stylesheet">
<footer class="aui-footer" style="position:fixed;bottom:0;z-index:100">
    <a href="<?php echo url('Indexs/index'); ?>" class="aui-tabBar-item ">
            <span class="aui-tabBar-item-icon">
                <i class="icon icon-home"></i>
            </span>
        <span class="aui-tabBar-item-text" style="font-size: 0.2rem;">首页</span>
    </a>
  <a href="<?php echo url('Newss/index'); ?>" class="aui-tabBar-item">
            <span class="aui-tabBar-item-icon">
                <i class="fa fa-newspaper-o"  style="color:#03b24d;font-size:18px !important;"></i>
            </span>
    <span class="aui-tabBar-item-text" style="color:#03b24d;">动态</span>
  </a>
    <!--<a href="news.html" class="aui-tabBar-item">-->
    <!--    <span class="aui-tabBar-item-icon">-->
    <!--        <i class="icon icon-find"></i>-->
    <!--    </span>-->
    <!--    <span class="aui-tabBar-item-text">消息</span>-->
    <!--</a>-->
    <!--<a href="community.html" class="aui-tabBar-item">-->
    <!--    <span class="aui-tabBar-item-icon">-->
    <!--        <i class="icon icon-comm"></i>-->
    <!--    </span>-->
    <!--    <span class="aui-tabBar-item-text">社区</span>-->
    <!--</a>-->
    <a href="<?php echo url('My/index'); ?>" class="aui-tabBar-item ">
            <span class="aui-tabBar-item-icon">
                <i class="icon icon-car"></i>
            </span>
        <span class="aui-tabBar-item-text" style="font-size: 0.2rem;">我的</span>
    </a>
</footer>
</section>
</body>
</html>